﻿using System;
namespace RBAC.ORM.Model
{
    /// <summary>
    /// 实体类SDepartment 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class SDepartment
    {
        public SDepartment()
        { }
        #region Model
        private string _id;
        private string _name;
        private string _description;
        private string _uppart;
        private int? _sequence;
        private int? _visiable;
        private int _ifroot;
        private int _ifleaf;
        /// <summary>
        /// 栏目ID
        /// </summary>
        public string id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 栏目名
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 栏目描述
        /// </summary>
        public string description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 上级栏目
        /// </summary>
        public string uppart
        {
            set { _uppart = value; }
            get { return _uppart; }
        }
        /// <summary>
        /// 在页面中位置
        /// </summary>
        public int? sequence
        {
            set { _sequence = value; }
            get { return _sequence; }
        }
        /// <summary>
        /// 栏目是否可见
        /// </summary>
        public int? visiable
        {
            set { _visiable = value; }
            get { return _visiable; }
        }
        /// <summary>
        /// 是否是根栏目
        /// </summary>
        public int ifRoot
        {
            set { _ifroot = value; }
            get { return _ifroot; }
        }
        /// <summary>
        /// 是否是叶栏目
        /// </summary>
        public int ifLeaf
        {
            set { _ifleaf = value; }
            get { return _ifleaf; }
        }
        #endregion Model

    }
}


